Skip to content

[automated] Merge branch 'net11.0' => 'release/11.0.1xx-rc2' - #39134

Closed
github-actions[bot] wants to merge 38 commits into
release/11.0.1xx-rc2from
merge/net11.0-to-release/11.0.1xx-rc2
Closed

github-actions[bot] wants to merge 38 commits into
release/11.0.1xx-rc2from
merge/net11.0-to-release/11.0.1xx-rc2

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

I detected changes in the net11.0 branch which have not been merged yet to release/11.0.1xx-rc2. I'm a robot and am configured to help you automatically keep release/11.0.1xx-rc2 up to date, so I've opened this PR.

This PR merges commits made on net11.0 by the following committers:

  • kubaflo
  • github-actions[bot]
  • kevin68
  • dotnet-oneloc-localization[bot]
  • jfversluis
  • rolfbjarne
  • morning4coffe-dev
  • PureWeen
  • edgiardina
  • Dhivya-SF4094
  • dotnet-maestro[bot]

Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, not a squash or rebase commit.

merge button instructions

If this repo does not allow creating merge commits from the GitHub UI, use command line instructions.

Instructions for merging via command line

Run these commands to merge this pull request from the command line.

git fetch
git checkout net11.0
git pull --ff-only
git checkout release/11.0.1xx-rc2
git pull --ff-only
git merge --no-ff net11.0

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/maui HEAD:merge/net11.0-to-release/11.0.1xx-rc2
or if you are using SSH
git push git@github.com:dotnet/maui HEAD:merge/net11.0-to-release/11.0.1xx-rc2

After PR checks are complete push the branch

git push

Instructions for resolving conflicts

⚠️ If there are merge conflicts, you will need to resolve them manually before merging. You can do this using GitHub or using the command line.

Instructions for updating this pull request

Contributors to this repo have permission update this pull request by pushing to the branch 'merge/net11.0-to-release/11.0.1xx-rc2'. This can be done to resolve conflicts or make other changes to this pull request before it is merged.
The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote.

git fetch
git checkout -b merge/net11.0-to-release/11.0.1xx-rc2 origin/release/11.0.1xx-rc2
git pull https://github.com/dotnet/maui merge/net11.0-to-release/11.0.1xx-rc2
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/maui HEAD:merge/net11.0-to-release/11.0.1xx-rc2
or if you are using SSH
git fetch
git checkout -b merge/net11.0-to-release/11.0.1xx-rc2 origin/release/11.0.1xx-rc2
git pull git@github.com:dotnet/maui merge/net11.0-to-release/11.0.1xx-rc2
(make changes)
git commit -m "Updated PR with my changes"
git push git@github.com:dotnet/maui HEAD:merge/net11.0-to-release/11.0.1xx-rc2

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues.
Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

dotnet-maestro Bot and others added 30 commits September 30, 2026 02:03
…929.3

On relative base path root
Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.Extensions.Configuration , Microsoft.Extensions.Configuration.Abstractions , Microsoft.Extensions.Configuration.Json , Microsoft.Extensions.DependencyInjection , Microsoft.Extensions.DependencyInjection.Abstractions , Microsoft.Extensions.FileProviders.Abstractions , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging.Console , Microsoft.Extensions.Logging.Debug , Microsoft.Extensions.Primitives , Microsoft.JSInterop , Microsoft.NETCore.App.Ref From Version 11.0.0-rtm.26473.115 -> To Version 11.0.0-rtm.26479.103
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Helix.JobMonitor , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.XUnitExtensions From Version 11.0.0-beta.26473.115 -> To Version 11.0.0-beta.26479.103
Microsoft.NET.Sdk From Version 11.0.100-rtm.26473.115 -> To Version 11.0.100-rtm.26479.103
This pull request updates the following dependencies

[marker]: <> (Begin:f4928934-9e75-4ba7-b3d0-757a5edf906c)
## From https://github.com/dotnet/dotnet
- **Subscription**:
[f4928934-9e75-4ba7-b3d0-757a5edf906c](https://maestro.dot.net/subscriptions?search=f4928934-9e75-4ba7-b3d0-757a5edf906c)
- **Build**:
[20260929.3](https://dev.azure.com/dnceng/internal/_build/results?buildId=3090654)
([334427](https://maestro.dot.net/channel/8298/github:dotnet:dotnet/build/334427))
- **Date Produced**: September 29, 2026 8:05:23 PM UTC
- **Commit**:
[9c4840f87ecafe62efae18d40060e5f0c931ce43](dotnet/dotnet@9c4840f)
- **Branch**:
[release/11.0.1xx](https://github.com/dotnet/dotnet/tree/release/11.0.1xx)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [11.0.0-rtm.26473.115 to 11.0.0-rtm.26479.103][1]
     - Microsoft.AspNetCore.Authentication.Facebook
     - Microsoft.AspNetCore.Authentication.Google
     - Microsoft.AspNetCore.Authentication.MicrosoftAccount
     - Microsoft.AspNetCore.Authorization
     - Microsoft.AspNetCore.Components
     - Microsoft.AspNetCore.Components.Analyzers
     - Microsoft.AspNetCore.Components.Forms
     - Microsoft.AspNetCore.Components.Web
     - Microsoft.AspNetCore.Components.WebAssembly
     - Microsoft.AspNetCore.Components.WebAssembly.Server
     - Microsoft.AspNetCore.Components.WebView
     - Microsoft.AspNetCore.Metadata
     - Microsoft.Extensions.Configuration
     - Microsoft.Extensions.Configuration.Abstractions
     - Microsoft.Extensions.Configuration.Json
     - Microsoft.Extensions.DependencyInjection
     - Microsoft.Extensions.DependencyInjection.Abstractions
     - Microsoft.Extensions.FileProviders.Abstractions
     - Microsoft.Extensions.Hosting.Abstractions
     - Microsoft.Extensions.Logging
     - Microsoft.Extensions.Logging.Abstractions
     - Microsoft.Extensions.Logging.Console
     - Microsoft.Extensions.Logging.Debug
     - Microsoft.Extensions.Primitives
     - Microsoft.JSInterop
     - Microsoft.NETCore.App.Ref
  - From [11.0.0-beta.26473.115 to 11.0.0-beta.26479.103][1]
     - Microsoft.DotNet.Arcade.Sdk
     - Microsoft.DotNet.Build.Tasks.Feed
     - Microsoft.DotNet.Build.Tasks.Installers
     - Microsoft.DotNet.Build.Tasks.Workloads
     - Microsoft.DotNet.Helix.JobMonitor
     - Microsoft.DotNet.Helix.Sdk
     - Microsoft.DotNet.RemoteExecutor
     - Microsoft.DotNet.SharedFramework.Sdk
     - Microsoft.DotNet.XUnitExtensions
  - From [11.0.100-rtm.26473.115 to 11.0.100-rtm.26479.103][1]
     - Microsoft.NET.Sdk

[1]: dotnet/dotnet@64f19de...9c4840f

[DependencyUpdate]: <> (End)


[marker]: <> (End:f4928934-9e75-4ba7-b3d0-757a5edf906c)

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…37674)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Issue Detail
On Mac Catalyst, VoiceOver announces selectable task items in
a CollectionView only by name, without an actionable role. Although
users can activate the item with Control + Option + Space, they are not
informed that it is interactive. VoiceOver should announce an
appropriate role, such as “button,” for selectable items.


### Root Cause

- On iOS/MacCatalyst, VoiceOver announced only a CollectionView item's
text and did not announce its role/interactivity (for example,
"Button"), even when SelectionMode made the item selectable.
- UpdateAccessibilityTraits unconditionally
applied UIAccessibilityTrait.Button to the cell's first templated child
view. When that child was a non-accessible container, such as
a Grid or Border wrapping a Label, the trait was applied to a view that
VoiceOver did not use as the accessibility element.
- The nested descendant that was actually exposed to VoiceOver
(IsAccessibilityElement == true) never received the trait, so VoiceOver
announced only the item's text without indicating that it was
selectable/interactable.

### Description of Change

- The fix changes the trait assignment to recursively search the first
templated child’s view hierarchy for the first view
with IsAccessibilityElement == true.
The UIAccessibilityTrait.Button trait is then applied directly to that
accessibility element.
- The search intentionally does not descend into UIControl subtrees.
This preserves the native accessibility roles of controls such
as UIButton, UITextField, and UISwitch, rather than overriding their
existing accessibility behavior.
- For selectable items, the button trait is added to the discovered
accessibility element. When SelectionMode.None is used, the trait is
removed.
- This ensures that the trait is applied to the same native view that
VoiceOver uses as the accessibility target. Consequently, VoiceOver
correctly announces both the item's content and its interactive role,
for example, “Survey Employees, Button.”

### Validated the behaviour in the following platforms
- [ ] Android
- [ ] Windows
- [ ] iOS
- [x] Mac

### Issues Fixed:
Fixes #37140 

### Screenshots
| Before  | After |
|---------|--------|
| <video
src="https://github.com/user-attachments/assets/9b00bcc3-bb31-49f6-9f97-1fd0f3891d5a">
| <video
src="https://github.com/user-attachments/assets/93426da3-564b-46dd-b5f8-60adfedb195d">
|
…ws (#38825)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description of Change

Adds `ShareTextRequest.PreviewImage` (`ShareFile?`). The share sheet
shows this image as a preview of the shared text or link.

- **iOS and Mac Catalyst:** `ShareActivityItemSource` already returns an
`LPLinkMetadata` with `Title` and `Url`. It now also sets
`ImageProvider` and `IconProvider` from the image file. The share sheet
header shows the image, and Messages uses it for the link bubble.
- **Android 10 (API 29) and later:** the text intent gets the image as
`ClipData` (a FileProvider URI from
`FileSystemUtils.GetShareableFileUri`) with
`FLAG_GRANT_READ_URI_PERMISSION`, and `EXTRA_TITLE` from `Title`. The
Sharesheet shows them in its content preview. The chooser intent gets
the read grant flag when a preview image is present.
- **Other platforms:** ignore the value.
- `CreateShareTextIntent` is extracted from `PlatformRequestAsync` for
tests, the same as `CreateShareFileIntent`.
- The Essentials sample share page gets a "Preview image" switch. It
captures a screenshot and passes it as `PreviewImage`.

When `PreviewImage` is `null`, the behavior does not change.

#### Public API

```csharp
public class ShareTextRequest : ShareRequestBase
{
    public ShareFile? PreviewImage { get; set; }
}
```

#### Tests

- New Android device tests:
`Share_TextIntent_WithoutPreviewImage_HasNoClipData` and
`Share_TextIntent_WithPreviewImage_HasClipData`.
- Essentials, Essentials.DeviceTests (`net11.0-android`), and
Essentials.Sample (`net11.0-android`) build with no errors.
- The same `LPLinkMetadata` approach, done at the app level, works on an
iOS 26.1 simulator (screenshot in the linked issue).

### Issues Fixed

Fixes #38824
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

## Scope

Remove **only** the old `/review rerun` machinery: the hourly scanner
and its compiled workflow, rerun eligibility/query/dispatch scripts,
obsolete rerun tests, and rerun queue label handling/documentation. The
command was already rejected by the manual trigger; keep those rejection
guards so it cannot accidentally start a normal review.

**Preserved:** manual `/review` with platform/branch options and
`workflow_dispatch`, missed-command recovery,
`eng/pipelines/ci-copilot.yml`, the full review orchestrator and
reporting/label helpers, `/review tests`, standalone review skills, and
the unrelated daily `pr-review-queue.yml` report.

Recovery previously imported parsing/date/permission helpers from the
rerun eligibility script. Move only its seven required functions into
`shared/ReviewCommandHelpers.ps1`, without changing their executable
implementations, and relocate their existing tests into the recovery
suite. The only change to `Review-PR.ps1` replaces obsolete `/review
rerun` retry advice with `/review`.

This is a fresh branch from `main`, not a reuse of the broad removal in
closed, unmerged #39027.

## Validation

- 258 existing local checks passed across manual trigger, recovery
(including relocated helper checks), labels, `/review tests`, and AI
Summary reporting.
- Including the broader local `Review-PR.Tests.ps1` suite: 344 passed,
one pre-existing model assertion failed.
- Actual [PowerShell Script Tests CI
run](https://github.com/dotnet/maui/actions/runs/36753179656): **2,201
passed, 2 failed**. Both failures expect `$model = "gpt-5.6-sol"`, while
`Review-Tests.ps1` already uses `gpt-6-astra` on the base commit. They
are `CopilotPipeline.Tests.ps1:70` and `Review-PR.Tests.ps1:328`; both
test files and `Review-Tests.ps1` are byte-for-byte unchanged from
`main` at this branch's base. These unrelated baseline failures are
deliberately not fixed here.
- PowerShell parsing passed; token comparison confirmed all seven
extracted function implementations match `main`.
- `actionlint` reports only the existing empty platform-choice warning,
reproduced on `main`; with that warning excluded, the manual trigger,
recovery, and daily report validate.
- `git diff --check` passed; no remaining rerun machinery/queue
references, apart from intentional command rejection and negative
assertions.

No new pipeline/YAML tests were added. The scanner source and generated
lock are deleted together; no surviving gh-aw workflow needs
recompilation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…w items" (#39010)

Reverts #37674 It was supposed to be merged to
inflight/current not main
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

## Summary

- Preserve workspace-owner read access when the isolated evaluator
atomically replaces `packed-refs`.
- Exercise repeated evaluator pack-ref replacements followed by
owner-side Git reads and restores.
- Keep the existing copied-workspace, configuration, worktree, and
runtime-state behavior unchanged.

## Validation

- `TestPrepareVallyEvaluation.rb`: 90 runs, 650 assertions
- `TestSkillWorkflowModes.rb`: 17 runs, 185 assertions
- Mandatory trusted-ref validation: 8 required paths and 9 skill test
directories
- Strict Vally 0.14.0 lint: 17 specs
- `bash -n`, focused `shellcheck`, actionlint parsing, and `git diff
--check`
- Linux container self-check under non-root runner ownership, covering
repeated replacement/read/restore cycles and prior runtime invariants
- `cgmanifest.json` and `templatestrings.json` unchanged

---------

Co-authored-by: PureWeen <223556219+Copilot@users.noreply.github.com>
…8324)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description of Change

Adds a **maintainer-triggered GitHub Agentic Workflow (gh-aw) for
`/review performance`**. The command runs selected managed benchmarks
against pinned merge-base/head revisions, asks GPT to interpret the
evidence and coverage gaps, and publishes one independently rendered and
validated performance report.

It follows the `/review tests` command entrypoint and #38807's
separation between untrusted execution and credentialed reporting. **The
PR is now scoped to this hosted workflow and its required managed
benchmarking/reporting dependencies.**

### Hosted-only scope

Reduced from 63 changed files to **24**, all under `.github/`. There are
no remaining changes to framework source, device tests/runners, `eng/`,
or `docs/`.

Retained: the workflow source/compiled lock, trusted orchestration,
managed selector/ABBA runner/comparator, trusted managed benchmark
overlays, coverage catalogs, GPT interpretation skill, deterministic
decision/renderer/validator, focused managed/report checks, and command
documentation/routing.

Removed: native-device infrastructure and drivers, the local
`check-pr-performance` skill, native request/evidence ingestion, the
history writer, duplicate benchmark sources under `src/`, and their
dedicated tests/documentation. **This PR no longer depends on #38274.**
The platform catalog only describes coverage gaps; it does not execute
native scenarios or promise an available device driver.

Merged `main` without rewriting history. Preserved its removal of legacy
rerun automation and moved the performance-command exclusion into the
new shared recovery helper.

### New GitHub Agentic Workflow

- **Source:** `.github/workflows/copilot-review-performance.md`.
- **Compiled workflow:**
`.github/workflows/copilot-review-performance.lock.yml`, generated with
gh-aw **v0.86.2**.
- **Trusted orchestrator:** `.github/scripts/Review-Performance.ps1`
(`Gather`, `Measure`, `Prepare`, `Render`).
- **Interpretation skill/model:** `perf-analysis`, using
**`gpt-5.6-sol`**.

A current write/maintain/admin collaborator requests a review with a
newly created comment on an open PR:

```text
/review performance
```

Only this exact subcommand activates the performance workflow. Other
subcommands, unauthorized comments, issues, closed PRs, and changes
without product files do not start measurements. The full `/review`
trigger and missed-command recovery explicitly exclude `/review
performance`.

1. **Trusted intake:** executes from the default branch, pins PR
merge-base/head and harness SHAs, and selects coverage without executing
PR code.
2. **Isolated measurements:** a disposable GitHub-hosted Linux job runs
managed BenchmarkDotNet benchmarks in ABBA order. Base/head use separate
unprivileged users and an explicit child-environment allowlist. No
Copilot PAT or posting token reaches benchmark builds/runs.
3. **Independent evidence and GPT interpretation:** a fresh job imports
bounded structured evidence and computes the decision baseline. GPT
reads that bundle and the pinned diff and supplies narrative only, with
no authority to execute more measurements or select another publication
target.
4. **Validated gh-aw publication:** a separate safe-output job downloads
independent evidence, recomputes the decision, renders and validates the
report, and rechecks caller permission plus live PR base/head identities
before publishing. Older performance reports are hidden. Automation
failures produce a run link, not a fabricated performance verdict.

Production uses the existing **`copilot-pat-pool` environment** for GPT
credentials and the repository's GitHub Actions token for scoped
publication. There is no new Azure pipeline, service connection, device
queue, or scheduled recovery.

### Manual dispatch and retries

After deployment to the default branch:

```bash
# Measure, interpret, render, and validate without posting.
gh workflow run copilot-review-performance.lock.yml \
  --repo dotnet/maui --ref main \
  -f pr_number=32382 -f suppress_output=true

# Run the same workflow and publish the validated report.
gh workflow run copilot-review-performance.lock.yml \
  --repo dotnet/maui --ref main \
  -f pr_number=32382 -f suppress_output=false
```

`pr_number` must identify an open PR. Dry-run mode suppresses
publication, not measurements, GPT interpretation, or report validation.
Context, structured evidence, reports, and separate
SDK-install/build/benchmark diagnostics are retained for seven days.
Diagnostic logs are not admitted as measurement evidence.

**Retry with a fresh dispatch or a new command, not Re-run failed
jobs.** Repeated attempts can leave same-named gh-aw agent artifacts in
one run, allowing a downstream job to select an earlier attempt's empty
output. The decision resolver recommends a managed retry only for
missing/incomplete execution or benchmark data; repeating completed
unchanged filters cannot fill excluded benchmark-input or native
coverage gaps.

### Evidence policy

| Evidence | Treatment |
|---|---|
| Managed allocations | Repeated non-overlapping ranges; default
materiality thresholds of 8 bytes and 0.5% |
| Shared-host timing | Advisory; requires non-overlapping ranges and at
least 15% median movement |
| Sampled benchmark families | Supplemental evidence, not proof the
changed path executed |
| Native paths | Explicit unmeasured coverage gaps; no native execution
or local evidence admission |
| Missing/incompatible evidence | Incomplete or inconclusive, never a
whole-PR pass |

The deterministic scripts own verdicts, coverage, and permitted actions.
GPT cannot erase a measured regression or clear missing/sampled
evidence. Recommendations distinguish measurements, static support, and
hypotheses. There is no numeric worth-it score, automatic merge
decision, code/label mutation, issue closure, or automatic follow-up.

### Successful final fork verification

The [fresh final fork
canary](https://github.com/kubaflo/maui/actions/runs/36765284345)
**completed successfully** against #32382, using the final production
implementation from `867ffde2fe`.

- Intake, activation, measurements, evidence preparation, GPT
interpretation, detection, safe outputs, and conclusion all succeeded.
- Both Core builds succeeded under `LinuxUsers` isolation with
`credentialsSanitized: true`.
- Seven benchmarks completed in each of the four ABBA runs, with
matching benchmark sets and complete measurement data.
- Changed binding/XAML workloads remained excluded. Coverage was
explicitly incomplete, with the deterministic next action
`needs_human_discussion`; no native measurements or whole-PR clearance
were claimed.
- The downloaded report-validation artifact contains **`valid: true` and
`errors: []`**.

Canary commit `e2550e87ba` differs from production only in the two
workflow files: it uses the existing personal Copilot secret, restricts
dispatch to the dedicated fork branch, targets the selected upstream PR,
and forces staged output. **No new upstream report was posted, and no
upstream environment protection was changed.** Production PAT-pool
configuration and normal publication behavior remain intact on the PR
branch.

The staged run retains a non-fatal gh-aw conclusion annotation about the
absent `safe-outputs-items` artifact. The actual safe-output
rendering/validation job and overall run succeeded; this is not a claim
that live upstream publication was exercised by the dry run.

### Additional validation and CI caveats

All five retained managed/decision/report suites passed again on the
final revision. The 69 existing command-routing/recovery checks passed.
PowerShell/JSON syntax, scoped formatting, whitespace checks, strict
gh-aw compilation, and native actionlint checks passed. Existing
shared-workflow actionlint diagnostics were verified against `main` and
left unchanged.

**Normal PR checks are not all green:** the [Pester
check](https://github.com/dotnet/maui/actions/runs/36765208984) has
2,201 passes and two stale assertions expecting `gpt-5.6-sol` while
`Review-Tests.ps1` uses `gpt-6-astra`. Both test files and their subject
are byte-identical to the merged `main`. [Skill
Validation](https://github.com/dotnet/maui/actions/runs/36765201279)
fails before inspecting PR content because the unchanged checkout action
refuses fork checkout in `pull_request_target`. These unrelated shared
checks were not weakened or modified. `maui-pr` is neutral on the final
GitHub-only revision.

Earlier real hosted runs exposed and verified fixes for assigning to
PowerShell's read-only `$HOME` and using the Windows-only SDK installer
on Linux. Those fixes and retained diagnostic artifacts remain in the
reduced implementation.

**Deployment remains pending:** the PR is still a draft and unmerged.
The workflow, lock, skill, and trusted scripts must reach
`dotnet/maui`'s default branch before the upstream slash command
operates. Fork validation does not imply production activation or
replace normal CI and human review. Operating instructions are in
`.github/docs/pr-review-workflow.md`.

### Issues Fixed

No product issue is closed. This PR adds an explicitly authorized,
hosted managed-performance review workflow.

---------

Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9c4135af-95e6-472d-9309-98f5d13cb737
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description of Change

Switch all 14 GitHub Agentic Workflows from `gpt-5.6-sol` to
`gpt-6.1-sol` and regenerate their `.lock.yml` files.

GPT-6.1 Sol is enabled in the live Copilot model catalog and supports
the Responses API. A restricted, no-tool Copilot CLI inference request
using the exact model ID also succeeded.

The pinned gh-aw v0.86.2 runtime and AWF v0.27.44 pricing catalog do not
yet include this model. To make the change runnable without upgrading
infrastructure:

- Explicitly configure `COPILOT_PROVIDER_WIRE_API: responses` for both
agent and threat-detection execution.
- Import shared, model-specific pricing from `shared/gpt-6.1-sol.md`,
using the [official OpenAI model
reference](https://developers.openai.com/api/docs/models/gpt-6.1-sol):
$2 input, $10 output, $0.10 cached input, and $2.50 cache writes per
million tokens.
- Update the hosted review workflow documentation. Local review runners
and offline evaluation models are unchanged.

Compiler, Copilot CLI (1.0.79), firewall, action pins, permissions,
triggers, and safe-output settings remain unchanged. The existing
firewall supports live discovery of models missing from its offline
catalog; the pricing overlay avoids its missing-pricing inference
rejection.

### Validation

- `gh aw compile --strict --no-check-update` succeeded for all 14
workflows.
- `gh aw list --json` confirms every generated lock is current.
- Inspected all generated execution environments and pricing overlays:
both execution phases use `gpt-6.1-sol` and `responses`.
- Native actionlint found only two reproduced baseline diagnostics: its
unsupported `concurrency.queue` field and existing
`github.aw.import-inputs.random_seed` expressions. With those existing
diagnostics excluded, all 14 lock files pass. The compiler's
Docker-based actionlint invocation could not run because Docker is
unavailable locally.
- `git diff --check` passed. No pipeline tests were added.

### Issues Fixed

N/A — workflow model configuration update.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

## Summary

Follow-up to #38324. The first production `/review performance` run
successfully published its report, but used flat Markdown instead of the
agreed expandable presentation: [example on
#39024](#39024 (comment)).

- Restore **Performance Review Summary**, the actual PR author/pinned
commit notification, and truthful Scope/Result/Commit badges as the
visible header.
- Put the verdict, coverage and benchmark table inside **Performance
Results**, and static findings, recommendations and next action inside
**Findings & Follow-up**. Both sections are closed by default for
static-only, measured and incomplete reports.
- Pass trusted PR metadata into rendering and validation. Reject flat,
expanded, nested, extra or incorrectly named sections, stray expanded
narrative, mismatched authors/commits and misleading badges. Escape
narrative HTML and block fences so generated prose cannot break the
layout.
- Allow `img.shields.io` in gh-aw's safe-output URL policy without
expanding the agent network allowlist, and regenerate the workflow with
gh-aw v0.86.2.

Measurement, verdict, coverage, permissions and stale-evidence rules are
unchanged. This does not modify the existing production comment; the new
layout takes effect for commands after this fix reaches the default
branch.

## GPT-6.1 Sol alignment

Includes the merged #39036 model migration, retaining `gpt-6.1-sol`,
Responses API configuration and shared pricing for all 14 gh-aw
workflows, including agent and threat-detection execution. Corrects the
stale hosted-model sentence identified in [this review
thread](#39036 (comment)),
while preserving the independent configuration of local runners and
evaluations.

## Validation

- All five existing perf-analysis suites pass; report-component coverage
includes every verdict, both report profiles and 12 malformed-layout
rejection cases. No pipeline/YAML configuration tests were added.
- Replayed the trusted Render stage using production run `36778478869`
evidence and original narrative, without posting a comment. Re-rendered
the measured ABBA report from run `36765284345` with unchanged evidence
and narrative.
- GitHub's Markdown API rendered both reports with exactly two closed
sibling accordions, three visible badges and the managed benchmark table
inside Performance Results. The exact previously published flat report
now fails presentation validation.
- All 14 workflows compile with pinned gh-aw v0.86.2. Inspected all 28
generated agent/detection environments: `gpt-6.1-sol` and `responses`.
Native actionlint passes with the documented baseline exclusions;
PowerShell/JSON parsing and scoped formatting pass.
- **Fresh staged fork canary passed:** [run
36784039109](https://github.com/kubaflo/maui/actions/runs/36784039109),
based on production commit `b509aa2fa89c2c93fe40bfac57729e8ac20d72a5`.
All executed jobs succeeded, report validation is `valid: true` with no
errors, and runtime logs confirm GPT-6.1 Sol/Responses in both agent and
detection. Safe-output processing reports one staged operation with no
failed operations. The report artifact contains the restored layout; no
live performance comment was posted.

The canary differs only in the two workflow files: exact
dedicated-fork/manual-dispatch guards, an existing personal inference
secret, a fixed upstream target and forced staging. Production files are
restored and clean. The known non-fatal staged-mode `safe-outputs-items`
missing-artifact annotation remains; report validation and safe-output
processing succeed.

The upstream Skill Validation check is blocked before evaluating PR
content by the existing `actions/checkout` refusal to run fork code in
`pull_request_target`. This PR does not weaken that guard.

---------
### Description of Change

Setting UseInterpreter=true for iOS or Mac Catalyst raises a warning in
.NET 11:

> The property 'UseInterpreter' has no effect when not using the Mono
runtime (for instance when using CoreCLR).

so don't set UseInterpreter for iOS or Mac Catalyst (as the warning
says, it has no effect) when running on .NET 11+.

---------
I detected changes in the main branch which have not been merged yet to
net11.0. I'm a robot and am configured to help you automatically keep
net11.0 up to date, so I've opened this PR.

This PR merges commits made on main by the following committers:

* morning4coffe-dev
* PureWeen
* kubaflo
* Dhivya-SF4094

## Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete
this PR by creating a merge commit, *not* a squash or rebase commit.

<img alt="merge button instructions"
src="https://i.imgur.com/GepcNJV.png" width="300" />

If this repo does not allow creating merge commits from the GitHub UI,
use command line instructions.

## Instructions for merging via command line

Run these commands to merge this pull request from the command line.

``` sh
git fetch
git checkout main
git pull --ff-only
git checkout net11.0
git pull --ff-only
git merge --no-ff main

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
<summary>or if you are using SSH</summary>

```
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>


After PR checks are complete push the branch
```
git push
```

## Instructions for resolving conflicts

:warning: If there are merge conflicts, you will need to resolve them
manually before merging. You can do this [using GitHub][resolve-github]
or using the [command line][resolve-cli].

[resolve-github]:
https://help.github.com/articles/resolving-a-merge-conflict-on-github/
[resolve-cli]:
https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

## Instructions for updating this pull request

Contributors to this repo have permission update this pull request by
pushing to the branch 'merge/main-to-net11.0'. This can be done to
resolve conflicts or make other changes to this pull request before it
is merged.
The provided examples assume that the remote is named 'origin'. If you
have a different remote name, please replace 'origin' with the name of
your remote.

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull https://github.com/dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
    <summary>or if you are using SSH</summary>

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull git@github.com:dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or
issues.
Also, if this PR was generated incorrectly, help us fix it. See
https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description of Change

Adds `DataPackageOperation.Move = 2` so a drop target can request Move
through the shared `DragEventArgs.AcceptedOperation` API.

On iOS and Mac Catalyst, preserve and aggregate accepted operations
rather than reducing them to a Boolean. Propose native Move only when
the drag session permits it. Default Copy behavior, Copy preference for
`Copy | Move`, acceptance across multiple recognizers, and explicit
native drop-proposal precedence are preserved.

Windows and Android framework implementations are unchanged. The Windows
sample explicitly opts its source into native `Copy | Move` permissions,
and the Apple sample uses shared Move acceptance. Updates API
declarations and documents the application-owned data changes.

**This does not automatically remove source data, reorder collections,
or implement CollectionView reordering.** Applications still own those
changes. It also does not guarantee specific preview dimensions.

### Release Target and Regression Risk

**This should still be safe to consider for .NET 11:** the behavior is
opt-in, the implementation is narrow, and the existing supported
`None`/`Copy` behavior is preserved. Independent reviews with GPT-6
Astra and Claude Opus 4.8 found no concrete regression for those
existing supported inputs, supported by the local results below.

**If this is too late in the .NET 11 release cycle, we can defer it to
.NET 12.** Preserving existing behavior takes priority over landing the
feature before the cutoff. This is not an unconditional last-minute
merge recommendation: normal candidate CI and affected-platform
validation should still gate acceptance, particularly Mac Catalyst,
which shares the changed Apple delegate, and the Windows sample's
source-operation negotiation.

One compatibility caveat is explicit: on Apple platforms, previously
undefined numeric enum values can behave differently. For example,
`(DataPackageOperation)4` previously fell back to Copy and now results
in Cancel when no native proposal override is provided. This is outside
the previously declared `None`/`Copy` contract, but is not a claim of
identical behavior for every numeric cast.

### Validation

| Local suite | Result |
| --- | --- |
| Shared gesture/data-package tests | 169 passed, including 159
pre-existing cases |
| Existing iOS drag/drop NUnit/Appium UI tests | 6 passed |
| Native iOS device tests | 41 passed, including 38 drag/drop cases |
| Controls product build targeting `net11.0` | Passed with 0 warnings
and 0 errors |

The existing UI tests exercise real gestures, cross-layout drops, event
delivery, platform event arguments, and drag/drop coordinates.
Additional local Sandbox/Appium checks covered eight scenarios,
including default Copy, explicit Move, rejected drops, cancellation
outside a target, native overrides, and requesting full-size previews.

Native regression coverage includes source Move restrictions; `None`,
Copy, Move, and combined flags; missing/disabled recognizers; recognizer
ordering and passive recognizers; custom native proposals; per-update
state reset; and disabling, removing, and replacing recognizers between
updates.

**Validation limits:** iOS ran on an iPhone 17 Pro simulator with iOS
26.4 using the worktree-local .NET 11 RC2 SDK and iOS workload. Local
toolchain workarounds included an app-only runtime override,
`MtouchLink=SdkOnly`, and `ValidateXcodeVersion=false`; those temporary
project/harness changes are not included in this PR. Windows, Android,
and Mac Catalyst have not been runtime-tested locally. A
fail-without-fix comparison was not completed. Local results do not
replace standard release-configuration or candidate CI validation.

### Issues Fixed

Fixes #16472
<!-- Please let the below note in for people that find this PR -->
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description of Change

Remove two source-identified causes of intermittent UI-test failures
without weakening regression coverage:

- `Issue10947.CollectionViewHeaderShouldNotScroll` reacquires native
header/footer geometry after focus changes using the existing
stale-element-aware helper. Its fixture explicitly respects container
safe areas: local Android execution demonstrated that the header could
otherwise be completely hidden underneath the status bar and absent from
the accessibility tree. Both exact rectangle comparisons are unchanged.
- `ShellFlyoutContent.FlyoutContentTests` waits for restored default
flyout items after custom content/template reset, and for destination
page controls after selection, instead of tapping during native flyout
reconstruction.

There are no test skips, new blanket retries, arbitrary sleeps, snapshot
changes, or relaxed assertions. This complements #38822 rather than
duplicating its null-content ScrollView and Android photo-picker fixes.

### Issues Fixed

CI-observed stale-element/lookup failures in the CollectionView
header/footer regression and the Shell flyout-content restoration test.
This is test/fixture-only; it does not claim to fix persistent
CollectionView scrolling, lifecycle crashes, XAML constructor failures,
or build errors found during the cross-branch investigation.

### Validation

All runs used `.github/scripts/BuildAndRunHostApp.ps1` with method-name
filters and explicit checks that the intended tests actually executed.

| Platform | Header/footer | Flyout-content |
|---|---|---|
| Android API 34 | Four independent first-attempt passes | Three
independent first-attempt passes |
| iOS, iPhone 17 Pro | One first-attempt pass | One first-attempt pass |
| Windows / MacCatalyst | Not run locally | Not run locally |

Nine genuine passing executions in total. Failed-test retry recoveries
and zero-test runner success are explicitly excluded from the validation
count. Formatting and patch whitespace checks passed.

`maui-pr` was queued for commit `4f4bcaabaa`. Cross-platform UI CI was
requested with `/azp run maui-pr-uitests`; its results are pending.
Finite runs do not establish absolute reliability.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
I detected changes in the main branch which have not been merged yet to
net11.0. I'm a robot and am configured to help you automatically keep
net11.0 up to date, so I've opened this PR.

This PR merges commits made on main by the following committers:

* kubaflo

## Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete
this PR by creating a merge commit, *not* a squash or rebase commit.

<img alt="merge button instructions"
src="https://i.imgur.com/GepcNJV.png" width="300" />

If this repo does not allow creating merge commits from the GitHub UI,
use command line instructions.

## Instructions for merging via command line

Run these commands to merge this pull request from the command line.

``` sh
git fetch
git checkout main
git pull --ff-only
git checkout net11.0
git pull --ff-only
git merge --no-ff main

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
<summary>or if you are using SSH</summary>

```
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>


After PR checks are complete push the branch
```
git push
```

## Instructions for resolving conflicts

:warning: If there are merge conflicts, you will need to resolve them
manually before merging. You can do this [using GitHub][resolve-github]
or using the [command line][resolve-cli].

[resolve-github]:
https://help.github.com/articles/resolving-a-merge-conflict-on-github/
[resolve-cli]:
https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

## Instructions for updating this pull request

Contributors to this repo have permission update this pull request by
pushing to the branch 'merge/main-to-net11.0'. This can be done to
resolve conflicts or make other changes to this pull request before it
is merged.
The provided examples assume that the remote is named 'origin'. If you
have a different remote name, please replace 'origin' with the name of
your remote.

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull https://github.com/dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
    <summary>or if you are using SSH</summary>

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull git@github.com:dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or
issues.
Also, if this PR was generated incorrectly, help us fix it. See
https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…: Build ID 3093589 (#38750)

This is the pull request automatically created by the OneLocBuild task
in the build process to check-in localized files generated based upon
translation source files (.lcl files) handed-back from the downstream
localization pipeline. If there are issues in translations, visit
https://aka.ms/icxLocBug and log bugs for fixes. The OneLocBuild wiki is
https://aka.ms/onelocbuild and the localization process in general is
documented at https://aka.ms/AllAboutLoc.

---------

Co-authored-by: dotnet-oneloc-localization[bot] <310689744+dotnet-oneloc-localization[bot]@users.noreply.github.com>
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
### Description of Change

Fixes #15570. Related to #19906.

Every change to `Map.Pins` calls
`Handler.UpdateValue(nameof(IMap.Pins))`, and the pins mapper removes
and re-adds every native marker (Android `MapPins`; iOS
`MauiMKMapView.AddPins` removes all annotations first). The
`ItemsSource` paths go through that per pin:

- **`ItemsSource`, `ItemTemplate` or `ItemTemplateSelector` set** —
`_pins.Clear()` then `CreatePinItems()`, which adds each pin to `_pins`:
one full rebuild per item, plus one at the end. With n items that is n +
2 rebuilds and about n²/2 marker creations.
- **`ItemsSource` collection change** — `e.Apply` adds the pin (one
rebuild), then `OnItemsSourceCollectionChanged` updates again: the
double `MapPins` call reported in #15570.

The `ItemsSource` paths now batch their pin changes: `_pins` still
raises its events (pins still get their `Parent`), but the handler is
updated once, when the outermost batch ends. Direct `Pins.Add` /
`Remove` are unchanged and still update the handler synchronously —
`DisconnectClearsNativeMapStateBeforePooling` and app code rely on the
native annotations existing right after the call, so deferring those is
not on the table here.

That leaves the direct-add loop of #19906 quadratic. We hit it in an app
adding 814 pins one by one: on a Samsung SM-X230 the UI thread stalled
7–44 s at a time and Android raised an ANR, each rebuild allocating
enough Java peers that the GC bridge ran a full Java collection after
every .NET one. After this change, binding that list through
`ItemsSource` costs one rebuild. Making direct adds cheap needs either a
batching API or incremental handler updates — happy to follow up if one
of those is wanted.

### Issues Fixed

Fixes #15570

### Validation

`Microsoft.Maui.Controls.Core.UnitTests` MapTests: 112/112, four new
tests counting `UpdateValue(nameof(IMap.Pins))` with the existing
`UpdateValueTrackingHandlerStub`:

| test | before | after |
|---|---|---|
| `SettingItemsSourceUpdatesPinsOnce` (100 items) | fails | 1 update |
| `ChangingItemTemplateUpdatesPinsOnce` (100 items) | fails | 1 update |
| `ItemsSourceCollectionChangeUpdatesPinsOnce` | fails (2 updates) | 1
update |
| `AddingAPinUpdatesPinsImmediately` | 1 per add | 1 per add |
Preserve translated descriptions and the lowercase empty parameter keys used by the .NET 11 Blazor templates.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
I detected changes in the main branch which have not been merged yet to
net11.0. I'm a robot and am configured to help you automatically keep
net11.0 up to date, so I've opened this PR.

This PR merges commits made on main by the following committers:

* dotnet-oneloc-localization[bot]

## Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete
this PR by creating a merge commit, *not* a squash or rebase commit.

<img alt="merge button instructions"
src="https://i.imgur.com/GepcNJV.png" width="300" />

If this repo does not allow creating merge commits from the GitHub UI,
use command line instructions.

## Instructions for merging via command line

Run these commands to merge this pull request from the command line.

``` sh
git fetch
git checkout main
git pull --ff-only
git checkout net11.0
git pull --ff-only
git merge --no-ff main

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
<summary>or if you are using SSH</summary>

```
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>


After PR checks are complete push the branch
```
git push
```

## Instructions for resolving conflicts

:warning: If there are merge conflicts, you will need to resolve them
manually before merging. You can do this [using GitHub][resolve-github]
or using the [command line][resolve-cli].

[resolve-github]:
https://help.github.com/articles/resolving-a-merge-conflict-on-github/
[resolve-cli]:
https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

## Instructions for updating this pull request

Contributors to this repo have permission update this pull request by
pushing to the branch 'merge/main-to-net11.0'. This can be done to
resolve conflicts or make other changes to this pull request before it
is merged.
The provided examples assume that the remote is named 'origin'. If you
have a different remote name, please replace 'origin' with the name of
your remote.

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull https://github.com/dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
    <summary>or if you are using SSH</summary>

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull git@github.com:dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or
issues.
Also, if this PR was generated incorrectly, help us fix it. See
https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

---------

Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
…9094)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

User-directed correction targeting **net11.0**. `WaitForCollect(params
WeakReference[])` previously retained a false aggregation verdict when
an earlier reference survived its bounded wait, even if collection
during later waits killed that target. Run every existing per-reference
wait unchanged, then evaluate the current liveness of all references.
`WaitForGC` still requires a nonempty collection and every target dead;
null handling, the 40-iteration budget, and real leak failures remain
unchanged.

Add nine regression/safety cases in the existing Core device-test
project, categorized as Memory. A controlled `WeakReference.IsAlive`
synchronization releases a real strongly rooted earlier target only
after its own wait and performs real GC. Coverage exercises both helper
entrypoints, retained targets in either position, already-dead
references, empty input, null elements, and null arrays. The
synchronization is test-only; no production sleeps, retries, timeout
changes, product/handler changes, skips, or quarantines.

**Managed validation**

A private managed-only harness linked the repository test file and
compiled the verbatim GC helper methods from the original commit and
patched working tree, with real xUnit 2.9.3 assertions. Only the device
Category metadata was shimmed. Its SDK 10.0.100 / net10.0 pin was
confined to the private harness; repository SDK/TFMs and analyzers were
not changed.

Commands run from that harness directory:
- `python3 materialize.py original && dotnet run --project
GcAggregation.csproj --configuration Release -- original` — passed:
40/40 expected original stale-verdict failures, 140/140 safety cases,
over 20 repetitions on .NET 10.0.0.
- `python3 materialize.py patched && dotnet run --project
GcAggregation.csproj --configuration Release -- patched` — passed: 40/40
corrected regression cases, 140/140 safety cases, over 20 repetitions on
.NET 10.0.0.
- `python3 materialize.py original && dotnet build GcAggregation.csproj
--configuration Release --no-restore --verbosity quiet && dotnet exec
--fx-version 11.0.0-preview.6.26359.118
bin/Release/net10.0/GcAggregation.dll original` — passed: build zero
warnings/errors, 40/40 expected original failures and 140/140 safety
cases on the explicitly selected installed .NET 11 preview runtime.
- `python3 materialize.py patched && dotnet build GcAggregation.csproj
--configuration Release --no-restore --verbosity quiet && dotnet exec
--fx-version 11.0.0-preview.6.26359.118
bin/Release/net10.0/GcAggregation.dll patched` — passed: build zero
warnings/errors, 40/40 corrected cases and 140/140 safety cases on that
managed preview runtime. This is not the pinned RC SDK/native runtime.

Repository commands:
- `dotnet format Microsoft.Maui.sln --no-restore --include
src/TestUtils/src/DeviceTests/AssertionExtensions.cs
src/Core/tests/DeviceTests/AssertionExtensionsTests.cs --exclude
Templates/src --exclude-diagnostics CA1822 --verbosity quiet` — passed.
- `git diff --check` and `git diff --cached --check` — passed.
- `dotnet test src/Core/tests/UnitTests/Core.UnitTests.csproj
--no-restore --filter FullyQualifiedName~AssertionExtensionsTests
--verbosity quiet` — initial build feasibility probe blocked by
NETSDK1004 (missing project.assets.json); no tests ran. New coverage
belongs to Core.DeviceTests, not Core.UnitTests.

**Remote native validation**

`/azp run maui-pr-devicetests` — requested once when no device build
existed; [build
1621691](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1621691)
completed **failed** at 20:54:01 UTC, with exact
`pr.sourceSha=bacabeaf278fc87b1f45b9ac8a821a5e4eaeb37c` and merge source
`d601c06278694e08412b4ce6bc5811c3d22db20d`.

Actual uploaded xUnit XMLs confirm **90/90 helper cases passed**: all
nine cases on Android CoreCLR/Mono, iOS 15/26 CoreCLR/Mono, MacCatalyst
15/26 CoreCLR, and Windows packaged/unpackaged. Assembly and collection
declarations were reconciled against actual test occurrences. Both
Windows Core category XMLs were also reconciled as exact multisets
against their respective 2,135-test aggregates. Remote device
compilation succeeded for CoreCLR, Mono and Windows Core
packaged/unpackaged.

**SwipeView ItemsDoNotLeak passed in all eight non-Windows
configurations.** It is absent in both Windows Controls aggregates, so
no Windows pass for that particular target is claimed.

Device CI is **not clean**: two Android CoreCLR HybridWebView
InvokeDotNet page-ready timeouts; iOS 15 Mono
CollectionViewDoesNotLeakWithDefaultItemsLayout with a living
CollectionView; and iOS 26 Mono PagesDoNotLeak(NavigationPage,
includeNavigationViewHandler: true) with living
NavigationPage/ContentPage/ContentView. Each exact case passed in the
immediately preceding matching configuration on build 1621616. Causality
remains unproven; these failures are not dismissed as known flakes. No
unrelated correction or second CI cycle was requested.

Six full completed submission logs corroborate the nine exact Helix jobs
without additional submissions. The advertised AzDO test-run list was
untruncated. Available results were inspected even for green legs; these
final logical/catalog snapshots do not independently prove exhaustive
unadvertised earlier native attempt history.

**Limits:** no local UI/device/simulator/emulator/XCTest/XCUITest/Appium
execution occurred. Managed validation proves the helper aggregation
defect, not the precise Android scheduling cause, exclusive root cause,
or a SwipeView product leak cure. This single device cycle does not
establish cured flakiness or merge readiness. Main CI build 1621690 was
still running at the latest observation. Continuous PR monitoring
remains active; no automatic merge.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

No linked issue. This fixes a confirmed test-helper aggregation defect.
Investigation was prompted by [net11.0 device build
1621616](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1621616)
at `42c9786b7c6796797e5ba7a12c422f32e0008630`, where Android CoreCLR
Controls SwipeViewTests.ItemsDoNotLeak reported an empty
surviving-reference list. The exact native scheduling cause remains
untraced; this PR does not claim an exclusive root cause.

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Add `/issue trace-regression` as a maintainer-triggered issue
investigation command, following the authorization and
expandable-comment conventions of `/review tests`.

- Accept only newly created, standalone issue comments from users with
current `write`, `maintain`, or `admin` permission. Ignore PR comments,
bots, edits, and other subcommands. Check permission before and after
evidence collection; a removed collaborator's 404 is an unauthorized
no-op, while private organization membership is not excluded by an
author-association filter.
- Gate the credential-bearing PAT-pool job on the collector's validated
`should_run` output, so unrelated `/issue` commands do not enter that
job.
- Preserve the maximum pending per-issue queue, so unrelated comment or
edit events cannot replace a pending authorized request. Leave the
command visible until a report is actually published; a separate trusted
completion job requires the native report comment ID, fetches that exact
comment, requires its exact triggering-issue URL, and rechecks current
permission before best-effort minimization. Its explicit `!cancelled()`
condition permits completion after an agent failure that nevertheless
produced the published output, while cancellation or an absent
publication receipt skips completion. A positive ID or successful
publisher job alone cannot resolve an unanswered command.
- Use **GPT-6.1 Sol** (`gpt-6.1-sol`) and the dedicated
`trace-regression` skill to investigate candidate introducing commits
and PRs. Explicitly select the Responses API and import the same
model-pricing configuration used by the repository's other GPT-6.1 Sol
workflows.
- Freeze reported versions, exact release-tag SHAs, recent comments, and
bounded history in the compiler's read-only `$RUNNER_TEMP/gh-aw` mount.
The snapshot download is required: a failed download stops inference
instead of falling back to mutable live issue data.
- Parse issue-form headings only outside backtick or tilde fences. Treat
real duplicate version headings as ambiguous: do not select a value,
resolve a tag, or compare releases for that boundary. Detect partial
comment pages by their expected counts, then revalidate the issue's
count and normalized update timestamp. Concurrent changes or failed
revalidation discard questionable comments and explicitly mark the
evidence incomplete. Report these gaps, missing evidence, conflicting
tags, divergent ancestry, policy-filtered reads, and truncated results.
- Distinguish confirmed introductions, likely introductions, candidates,
and insufficient evidence. Static inspection must not be described as a
completed reproduction or bisect.
- Publish one expandable report, restricted to the triggering issue, and
collapse older reports. The pinned v0.86.2 add-comment handler
prioritizes explicit agent target aliases over both `target: triggering`
and a fixed numeric target. Configuration alone is therefore not the
boundary: a token-free trusted validation step checks a bounded regular
output file before native publication, rejects cross-issue aliases,
foreign repository overrides, existing-comment/status edits, and
unsupported operations. The collector/helper runs from an immutable
trusted checkout, and the agent output is copied only as data outside
it. Explicitly disable pull-request publication; generated safe-output
and conclusion jobs have no PR write permission. Disable both
agent-failure and the separate failed-custom-job issue reporters, so
failed completion cannot create an untargeted repository issue.
- Require each report intent to contain a nonempty text body and reject
multiple `add_comment` intents before the native maximum can select one.
The pinned handler's maximum-only body limits otherwise accept
whitespace and subsequently add report markers, potentially creating a
marker-only comment. Empty/noop/missing-data outcomes remain permitted:
requiring exactly one report unconditionally would break legitimate
no-report paths, and these paths cannot minimize the command without a
verified publication receipt. This validates minimum report shape, not
the semantic accuracy of AI analysis.

This is report-only: it does not execute reproduction code, builds,
tests, or bisects, modify labels, or push fixes. The discarded
conflict-resolution implementation is not part of the final diff. The
model migration does not change triggers, permissions, collector
behavior, or publication scope. The obsolete hardcoded GPT-5.6
configuration assertion was removed. The original PR already included
functional tests and workflow/report source-contract checks; the model
migration and subsequent review-fix batches added no additional
pipeline/configuration tests. Workflow changes are validated with strict
compilation and actual hosted execution.

#### Validation

- `gh aw compile issue-trace-regression --validate --strict` and `gh aw
compile issue-trace-regression --validate --strict --no-emit` —
**passed**, zero warnings; regenerated lockfile included with the
earlier frontmatter change. The latest body/count fix changes only the
trusted helper and directly related documentation, so production
frontmatter and lockfile are unchanged. Native ordering was inspected:
output download, output-path setup, immutable-SHA credentials-free
checkout, bounded scope guard, then `Process Safe Outputs`. All 15
consumers of the shared PAT-pool import also passed strict validated
compilation in the earlier shared-import batch; two existing warnings
remain in unrelated workflows.
- `pwsh -NoProfile -Command '$config = New-PesterConfiguration;
$config.Run.Path = @(".github/scripts/IssueRegression.Tests.ps1",
".github/scripts/ReviewTrigger.Tests.ps1",
".github/scripts/shared/Invoke-GhCommandWithRetry.Tests.ps1",
".github/scripts/shared/Copy-BoundedDiagnosticFile.Tests.ps1");
$config.Run.PassThru = $true; $config.Output.Verbosity = "Normal";
$result = Invoke-Pester -Configuration $config; if ($result.FailedCount
-gt 0 -or $result.TotalCount -lt 1) { exit 1 }'` — **passed**, 303
existing collector, trigger, retry, source-contract, and bounded-copy
checks. Existing completion fixtures were adapted for the newly required
valid receipt; no test cases or configuration assertions were added.
These suites are not claimed as new automated coverage of the
publication validator; that function was exercised directly and through
actual hosted runs below. Maintained validator regression tests were not
added under the requested no-new-pipeline-tests scope.
- `gh aw compile copilot-review-tests --validate --strict` — **passed**
for the fork-only dispatch harness; this harness is not part of the
production PR.
- **Final minimum report-shape validation on the production-identical
helper:** the [normal
run](https://github.com/kubaflo/maui/actions/runs/36959639518) accepted
a real report alongside a diagnostic `missing_tool`, successfully
published [report
5945066587](kubaflo#928 (comment)),
verified its issue URL, and resolved only its command. The
[whitespace-only
run](https://github.com/kubaflo/maui/actions/runs/36959642227) modified
the actual emitted report body to whitespace; the trusted guard failed
with the nonempty-body error, native processing and completion were
skipped, no report was created, and its command remained visible. The
[duplicate-intent
run](https://github.com/kubaflo/maui/actions/runs/36959644940) added a
second real same-issue report intent with a distinct temporary ID; the
trusted guard rejected the pair before native processing, no report was
created, and its command remained visible. Both negative runs
intentionally conclude failure; their required rejection outcomes
passed. Actual output artifacts, native step outcomes, report/issue
receipts, and GitHub minimized states were inspected. Before/after
inventories contained the same 88 issue IDs; only the normal run
published a new report. Both fault modes default off and exist only on
the isolated fork dispatch branch.
- Direct function execution accepted a valid report and
empty/noop/missing-data outcomes; rejected missing, null, non-text, and
whitespace-only bodies and duplicate reports; and rechecked all 13
target/repository/edit fields. This is one-off functional validation,
not a maintained regression suite. No additional pipeline/configuration
tests were introduced.
- **Earlier publication binding and independent receipt verification:**
the [normal fork
run](https://github.com/kubaflo/maui/actions/runs/36955490959)
successfully ran the guard, posted [report
5944525378](kubaflo#928 (comment))
to the expected issue, verified its exact issue URL, and resolved only
its own command. The [guarded cross-target
run](https://github.com/kubaflo/maui/actions/runs/36955493105)
deliberately changed exactly one real GPT-6.1 Sol output to
`item_number=929`; the trusted validation step failed, native
publication and completion were skipped, no report from that run
appeared on either fixture, and the original command stayed visible.
That run intentionally concludes failure; the required rejection outcome
passed. The [fork-only guard-bypass
run](https://github.com/kubaflo/maui/actions/runs/36955495393)
independently exercised completion: the pinned native handler posted
[actual report
5944684604](kubaflo#929 (comment))
to isolated secondary fixture 929, but completion fetched its receipt,
rejected the mismatched issue URL, and left the original issue-928
command visible. GitHub's actual minimized states were checked; a
successful completion job was not mistaken for minimization.
Before/after inventories contained the same 88 fork issue IDs, with no
unexpected issue creation. Mutation and bypass inputs default off, exist
only in the isolated fork harness, and were never added to production.
- Earlier direct probes rejected all eight cross-issue aliases, a
foreign repository, existing-comment edits, case-normalized unsupported
operations, and native `target: status` edits; valid same-issue output
remained accepted. The status-edit rejection was directly probed, not
claimed as a hosted status-mutation test. Exact-size probes accepted a 1
MiB JSON file and detected a 1 MiB + 1 byte file as truncated before
parsing.
- **Earlier failed-agent and failed-completion paths:** [fork
run](https://github.com/kubaflo/maui/actions/runs/36945016403),
[generated
report](kubaflo#928 (comment)).
Real GPT-6.1 Sol inference emitted its safe output before a fork-only
hook deliberately failed the agent job with exit 23. Native safe outputs
successfully published the report, and the trusted completion step
actually minimized the answered command before another fork-only hook
failed completion with exit 24. GitHub confirmed the command's minimized
state and `resolved` reason. Conclusion succeeded with no failed-job
reporter step; complete before/after inventories contained the same 87
then-existing fork issue IDs. The run intentionally concludes failure;
its required failure-path outcomes passed. Both fault inputs default off
and exist only in the isolated fork harness.
- **Earlier missing-publication receipt validation:** the
[missing-snapshot
control](https://github.com/kubaflo/maui/actions/runs/36945019130)
failed the required download as expected. Both Copilot inference steps
and command completion were skipped; safe outputs succeeded but
published no report, and its command remained visible. This run
intentionally concludes failure; the required no-report outcome passed.
- **Earlier all-success hosted GPT-6.1 Sol execution:** [fork
run](https://github.com/kubaflo/maui/actions/runs/36934845495),
[generated
report](kubaflo#928 (comment)).
All eight jobs succeeded and exactly one report was published. The
collector ignored deliberately prepended fenced version examples and
resolved the real `9.0.100 SR10`/`10.0.40` fields. Actual
`agent_usage.json` identifies `gpt-6.1-sol`; the report preserved
divergent ancestry and incomplete source-history evidence without
claiming runtime confirmation. The completion log recorded the published
report ID before minimization, and GitHub confirmed only that run's
command became resolved.
- **Earlier required snapshot failure and visibility validation:** the
[queued fork run with a deliberately unavailable
artifact](https://github.com/kubaflo/maui/actions/runs/36934895797)
failed at the required download as expected. Both Copilot execution
steps and command minimization were skipped; no report was published and
its command stayed visible. Its collector artifact also recorded a
deliberately outdated captured issue marker as an explicit
comment-snapshot gap, with zero retained comments and
`commentsTruncated: true`.
- **Pending queue and negative-command validation:** the
[unrelated-command fork
run](https://github.com/kubaflo/maui/actions/runs/36934898946) arrived
after the missing-context request while the positive run was active.
Both subsequent runs remained pending, then both ran without
cancellation. The unrelated command skipped the entire PAT pool,
inference, publication, and minimization.
- A direct collector exercise also verified the exact 100-to-101
comment-count race and longer backtick fences with a shorter interior
fence. Real version fields were retained, and the race discarded
questionable comments with an explicit incomplete-history gap.
- The original collector and updated skill were used on the fork with
only dispatch, existing fork credential wiring, fixed fork publication
context, and documented controlled fault/mutation/bypass hooks adapted.
The upstream issue and fork default branch were unchanged by these
validation runs.
- **Not covered by fork dispatch:** production `issue_comment` webhook
delivery and upstream permission checks. The real fork command, PAT-pool
skip, queue preservation, scoped publication, and command minimization
were validated through the isolated dispatch adapter; this is not a
claim that the production webhook ran.
- On current commit `3683461f99`, [Skill
Validation](https://github.com/dotnet/maui/actions/runs/36961565300)
**passed**. [PowerShell Script
Tests](https://github.com/dotnet/maui/actions/runs/36961567642) passed
**2456/2459**, failing only the same three unrelated `/review tests`
contracts that still assert GPT-5.6. Their actual failure logs were
inspected, and those tests and referenced implementations remain
byte-identical to merged `main` at
`b9dc0cc2b2815a68dcbca3819a9898fc33f692db`; the local reviewer actually
uses `gpt-6-astra`, and the hosted reviewer uses `gpt-6.1-sol`. These
inherited assertions were left unchanged, so this is not an all-green CI
claim. No completed `main` runtime baseline was obtained. Current Azure
PR-build queries for all three canonical pipelines returned no builds.
- Runtime accounting caveat: the latest normal report-bearing run's
`agent_usage.json` identifies `gpt-6.1-sol` and reports 856,531
input/output tokens (including 783,723 cached input tokens) but zero AI
credits despite the pricing override being present. Zero must not be
interpreted as a free run.

#### Credential and dependency audit

No new secret configuration is required. The workflow reuses
`COPILOT_PAT_0` through `COPILOT_PAT_9` through the existing shared PAT
pool. The old and regenerated production lockfile manifests are
identical: no secret, action, or container was added or removed by the
model migration or latest failure-path/scope fixes. No redirect changes
are introduced. The shared pricing import matches the established
GPT-6.1 Sol configuration on `main`. The final minimum-body/count
hardening changes only the trusted helper and documentation; production
workflow configuration and lockfile are unchanged.

The agent has read-only **GitHub** permissions and a read-only evidence
mount; this is not a claim that its entire filesystem is immutable.
Trusted checkouts do not persist credentials. Pre-activation has only
issue-read permission; report publication is isolated in the safe-output
job with `target: triggering` plus independent pre-publication
validation. The trusted publisher now also has `contents: read` to check
out the validator; the pinned compiler propagates the same read grant to
conclusion. The separate completion job receives issue-write permission
to minimize the already answered original command only after verifying
the actual receipt's issue URL and rechecking authorization. The native
conclusion job still retains issue-write permission for its other
handlers; both agent-failure and failed-custom-job issue reporters are
explicitly disabled. These jobs have no PR write permission.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

N/A — adds a report-only maintainer command; it does not fix the issues
it investigates. #34057 was used as the hosted investigation example.

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description of Change

`.github/skills/issue-triage/scripts/query-issues.ps1` is the mandated
entry point for the `issue-triage` skill. It aborts partway through
every run on any host whose culture uses `dd/MM` date order (`en-GB`,
`en-PL`, `pl-PL`, `de-DE`, …):

```
Exception calling "Parse" with "1" argument(s):
"String '09/30/2026 21:39:41' was not recognized as a valid DateTime."
```

**Root cause.** `ConvertFrom-Json` already materializes an ISO-8601 JSON
value as a `[datetime]`. Calling `[datetime]::Parse($value)` on that
object therefore renders it *back* to a string using the **invariant**
culture (`MM/dd/yyyy HH:mm:ss`) and reads it back using the **current**
culture:

* when the day is **> 12**, the parse throws outright — this is the
crash above;
* when the day is **≤ 12**, it is worse: it silently transposes day and
month (`2026-07-01` → `2026-01-07`), so every age / staleness number is
wrong by months **with no error at all**. A 6-day-old issue reads as 181
days old, which silently corrupts the `-MinAge` / `-MaxAge` filters and
the `Age` column used to make triage decisions.

The round-trip also discards the offset, leaving `Kind = Unspecified`.

**Fix.** Route all four timestamp sites through a new
`ConvertFrom-GitHubTimestamp` helper that passes an already-typed
`[datetime]` straight through (no round-trip at all) and parses genuine
strings with `InvariantCulture` + `RoundtripKind` so the UTC marker
survives. This is the convention already used elsewhere in the repo —
`query-reviewable-prs.ps1`, `Get-PreviewReadiness.ps1`, and the detailed
note in `CiScanReconcile.Core.ps1`; `query-issues.ps1` was the one
outlier.

Sites changed:

| Line (old) | Site |
|---|---|
| 192 | milestone `DueOn` sort key (`TryParse`, current culture) |
| 270 | `-MinAge` filter |
| 275 | `-MaxAge` filter |
| 328 | per-issue `Age` calculation — **the line that actually threw** |

Also computes the `-MinAge` / `-MaxAge` cutoffs in UTC. They were built
from a local `Get-Date` and compared against UTC GitHub timestamps,
skewing the boundary by the host's offset (up to ±14h) and
misclassifying issues created near it.

### Validation

No new test project was added — this is a skill script, and the existing
`powershell-script-tests.yml` Pester gate does not cover
`.github/skills/issue-triage`. Verified empirically instead, on an
`en-PL` host (the culture that produced the original crash):

| Check | Command | Result |
|---|---|---|
| Full run that previously crashed | `pwsh
.github/skills/issue-triage/scripts/query-issues.ps1 -Limit 100
-OutputFormat json` | **Passed** — exit 0, `Found 94 issues`, all 94
processed (previously died at issue **26 of 94**) |
| No raw parses remain | `grep -n
"DateTime\]::Parse\|DateTime\]::TryParse" query-issues.ps1` | **Passed**
— no matches |
| Culture invariance (`2026-07-01`, a day ≤ 12 where transposition
hides) | helper evaluated under `en-PL`, `pl-PL`, `en-GB`, `de-DE`,
`en-US`, for both the `ConvertFrom-Json` `[datetime]` shape and the raw
ISO string shape | **Passed** — all 10 cases return `2026-07-01` |
| Null / empty / unparseable input | helper called with `$null`, `''`,
`'not-a-date'` | **Passed** — returns `$null`, no throw |

Ages in the output are now consistent with wall-clock (e.g. an issue
created `2026-09-25` reports `8 days`).

### Issues Fixed

Fixes the crash that currently blocks the `issue-triage` skill
end-to-end. No existing issue was filed for it; it was found while
auditing open-issue health.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
I detected changes in the main branch which have not been merged yet to
net11.0. I'm a robot and am configured to help you automatically keep
net11.0 up to date, so I've opened this PR.

This PR merges commits made on main by the following committers:

* kubaflo

## Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete
this PR by creating a merge commit, *not* a squash or rebase commit.

<img alt="merge button instructions"
src="https://i.imgur.com/GepcNJV.png" width="300" />

If this repo does not allow creating merge commits from the GitHub UI,
use command line instructions.

## Instructions for merging via command line

Run these commands to merge this pull request from the command line.

``` sh
git fetch
git checkout main
git pull --ff-only
git checkout net11.0
git pull --ff-only
git merge --no-ff main

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
<summary>or if you are using SSH</summary>

```
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>


After PR checks are complete push the branch
```
git push
```

## Instructions for resolving conflicts

:warning: If there are merge conflicts, you will need to resolve them
manually before merging. You can do this [using GitHub][resolve-github]
or using the [command line][resolve-cli].

[resolve-github]:
https://help.github.com/articles/resolving-a-merge-conflict-on-github/
[resolve-cli]:
https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

## Instructions for updating this pull request

Contributors to this repo have permission update this pull request by
pushing to the branch 'merge/main-to-net11.0'. This can be done to
resolve conflicts or make other changes to this pull request before it
is merged.
The provided examples assume that the remote is named 'origin'. If you
have a different remote name, please replace 'origin' with the name of
your remote.

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull https://github.com/dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
    <summary>or if you are using SSH</summary>

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull git@github.com:dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or
issues.
Also, if this PR was generated incorrectly, help us fix it. See
https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…of (#39096)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description of Change

There are currently **423 open `agentic-workflows` issues**, and **168**
of them are `[aw] Failed jobs: ...` reports. **166 of those 168** come
from five workflows that *already* declare
`safe-outputs.report-failure-as-issue: false`:

| Open `[aw] Failed jobs:` issues | Workflow | Source |
|---:|---|---|
| 70 | CI Failure Scanner (net11.0) | `ci-status-net11.md` |
| 63 | CI Failure Scanner | `ci-status-main.md` |
| 29 | Agentic Labeler | `agentic-labeler.md` |
| 4 | Review PR Test Failures | `copilot-review-tests.md` |
| 1 | Review PR Performance | `copilot-review-performance.md` |
| 1 | Rerun Review Scanner | *(workflow no longer exists)* |

**Root cause.** `report-failure-as-issue` only governs the
**agent**-level failure reporter (`handle_agent_failure.cjs`). Job-level
failures are emitted by a completely separate reporter,
`report_failed_jobs.cjs`, gated by its own frontmatter key —
`safe-outputs.report-failed-jobs`, which **defaults to `true`**:

```json
"report-failed-jobs": {
  "type": "boolean",
  "description": "Controls whether to report failed non-builtin jobs as issues (default: true). Set to false to disable.",
  "default": true
}
```

So each of these workflows kept filing `[aw] Failed jobs: ...` on every
red run *despite having explicitly opted out of failure issues*. You can
see it directly in the committed lock files today —
`GH_AW_REPORT_FAILED_JOBS: "true"` sits in a workflow whose frontmatter
says `report-failure-as-issue: false`.

This was a near-miss rather than a deliberate choice:
`agentic-labeler.md` already carries a comment showing the maintainers
walked this exact list of knobs (`noop.report-as-issue`,
`missing-tool.create-issue`, `report-incomplete.create-issue`,
`report-failure-as-issue`) and verified each against the generated lock.
`report-failed-jobs` is simply the one that was missed.

**Change.** Set `safe-outputs.report-failed-jobs: false` on those five
workflows and recompile.

Nothing becomes invisible: these runs still show as red in the Actions
tab, and the two scanners additionally report through their own
`[ci-scan]` / `[ci-scan-net11]` issue stream. This only stops the
duplicate, unactioned issue-per-red-run stream that the workflows had
already opted out of.

Deliberately **not** changed in this PR: the ~160 remaining non-`Failed
jobs` issues (`Memory Leak Fixer is missing required data`, `CI Failure
Fixer ... reported incomplete result`, etc.). Those have real root
causes — MCP integrity-policy filtering on the leak workflows, and a
`pwsh`/command-policy denial in the CI fixers — and should be fixed
rather than silenced.

### Validation

Pipeline/CI configuration, so no tests were added per repo convention.
Validated with the toolchain instead:

| Check | Command | Result |
|---|---|---|
| Compile with the pinned compiler | `gh aw compile ci-status-net11
ci-status-main agentic-labeler copilot-review-tests
copilot-review-performance` | **Passed** — `✓ Compiled 5 workflows: 5
succeeded, 0 warnings` (strict mode) |
| Lock files are valid YAML and keep all jobs | `python3 -c
"yaml.safe_load(...)"` over all 5 lock files | **Passed** — 8 / 8 / 7 /
8 / 10 jobs, unchanged |
| `actionlint` | `gh aw lint <5 lock files>` | **Not run locally** —
requires Docker, unavailable on this machine. Runs in CI. |

Lock files are regenerated with the pinned compiler (`gh aw`
**v0.86.2**, matching `compiler_version` in the existing lock metadata),
not hand-edited. The diff is uniform across all five files — 1 insertion
(the `frontmatter_hash` in the metadata header) and 19 deletions:

* the entire `Report failed jobs` step is dropped, and
* the `conclusion` job sheds the now-unnecessary `actions: read`
permission (a least-privilege improvement that falls out of the step
removal).

`body_hash` is unchanged in every file, confirming only frontmatter was
touched.

### Issues Fixed

No single tracking issue — this addresses the `[aw] Failed jobs:` issue
flood surfaced while auditing open-issue health. It stops future
recurrence; the 168 already-open issues can be bulk-closed separately.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
I detected changes in the main branch which have not been merged yet to
net11.0. I'm a robot and am configured to help you automatically keep
net11.0 up to date, so I've opened this PR.

This PR merges commits made on main by the following committers:

* kubaflo

## Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete
this PR by creating a merge commit, *not* a squash or rebase commit.

<img alt="merge button instructions"
src="https://i.imgur.com/GepcNJV.png" width="300" />

If this repo does not allow creating merge commits from the GitHub UI,
use command line instructions.

## Instructions for merging via command line

Run these commands to merge this pull request from the command line.

``` sh
git fetch
git checkout main
git pull --ff-only
git checkout net11.0
git pull --ff-only
git merge --no-ff main

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
<summary>or if you are using SSH</summary>

```
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>


After PR checks are complete push the branch
```
git push
```

## Instructions for resolving conflicts

:warning: If there are merge conflicts, you will need to resolve them
manually before merging. You can do this [using GitHub][resolve-github]
or using the [command line][resolve-cli].

[resolve-github]:
https://help.github.com/articles/resolving-a-merge-conflict-on-github/
[resolve-cli]:
https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

## Instructions for updating this pull request

Contributors to this repo have permission update this pull request by
pushing to the branch 'merge/main-to-net11.0'. This can be done to
resolve conflicts or make other changes to this pull request before it
is merged.
The provided examples assume that the remote is named 'origin'. If you
have a different remote name, please replace 'origin' with the name of
your remote.

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull https://github.com/dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
    <summary>or if you are using SSH</summary>

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull git@github.com:dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or
issues.
Also, if this PR was generated incorrectly, help us fix it. See
https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

---------

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo and others added 8 commits October 4, 2026 00:22
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

Increase the navigation timeout in `WebViewShouldLoadEncodedUrl` from 5
seconds to 30 seconds. The final diff is one line in the device test; no
production code or app configuration changes.

In #39103, the non-ASCII URL case timed out on iOS CoreCLR and passed
when the same commit was retried. Giving navigation more time reduces
sensitivity to network latency on CI machines.

All five original external URLs, the successful-navigation assertion,
the existing internet-connectivity guard and the Windows skip for #27425
remain unchanged. There are no new test retries or skips. This does not
eliminate the external-network dependency or guarantee that every future
run will pass.

The initial loopback-server approach was removed in favor of this
timeout-only change. Results from that earlier implementation do not
validate this revision.

**Validation of revision `f57f8cd970`**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Core/tests/DeviceTests/Handlers/WebView/WebViewHandlerTests.cs
--verbosity quiet` — passed.
- `pwsh -NoProfile -File
.github/skills/run-device-tests/scripts/Run-DeviceTests.ps1 -Project
Core -Platform ios -BuildOnly -SkipXcodeVersionCheck` — passed, 0
warnings and 0 errors.
- `git diff --check` — passed. Comparison against the pre-PR baseline
confirms that the only remaining change is the timeout.
- `/azp run maui-pr-devicetests` — accepted; [build
1622269](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1622269)
tested merge `21dc8af989ecbf29d9508f199bad46591ec8316f`, whose parents
include this PR head `f57f8cd970b5046af8dc77db37092b07d5b1e52d`.
- The first iOS submission failed before tests because the SDK feed
returned HTTP 503. Retried only `devicetests_ios` using `az devops
invoke --organization https://dev.azure.com/dnceng-public --area build
--resource stages --route-parameters project=public buildId=1622269
stageRefName=devicetests_ios --http-method PATCH --api-version 7.1
--in-file <retry-ios-stage.json>` with body
`{"state":"retry","forceRetryAllJobs":false}` — accepted, attempt 2
succeeded on the unchanged commit. No failed WebView case was retried.

Actual Core `testResults.xml` files were parsed, selecting `test.method
== WebViewShouldLoadEncodedUrl` rather than inferring coverage from
pipeline badges:

| Platform/runtime | Queue | Encoded-URL results | Core failures/errors
|
| --- | --- | --- | --- |
| Android Mono | Android 33 | 5 passed | 0 / 0 |
| Android CoreCLR | Android 33 | 5 passed | 0 / 0 |
| MacCatalyst Mono | osx.15 | 5 passed | 0 / 0 |
| MacCatalyst Mono | osx.26 | 5 passed | 0 / 0 |
| iOS Mono, attempt 2 | osx.15 | 5 passed | 0 / 0 |
| iOS Mono, attempt 2 | osx.26 | 5 passed | 0 / 0 |
| Windows packaged/unpackaged | Windows 11 | Theory skipped in each | 0
/ 0 |

Result-file evidence: [Android
Mono](https://helix.dot.net/api/2019-06-17/jobs/be010adf-cbec-4c5a-9868-bc512636a429/workitems/com.microsoft.maui.core.devicetests-Signed/files/testResults.xml),
[Android
CoreCLR](https://helix.dot.net/api/2019-06-17/jobs/d86dd43c-39d1-42d9-bf04-2e19202a6fc6/workitems/com.microsoft.maui.core.devicetests-Signed/files/testResults.xml),
[MacCatalyst
osx.15](https://helix.dot.net/api/2019-06-17/jobs/a9dc4f5a-9c3b-48f9-adec-2f31379a0a69/workitems/Core%20Tests/files/testResults.xml),
[MacCatalyst
osx.26](https://helix.dot.net/api/2019-06-17/jobs/5048bbba-93e6-4c33-90f8-4a380c2c9d29/workitems/Core%20Tests/files/testResults.xml),
[iOS
osx.15](https://helix.dot.net/api/2019-06-17/jobs/852b2666-880f-450c-9702-ef022e8b7f4a/workitems/Microsoft.Maui.Core.DeviceTests/files/testResults.xml),
[iOS
osx.26](https://helix.dot.net/api/2019-06-17/jobs/e97499ad-fe26-44f9-85ad-cce3def2ff9f/workitems/Microsoft.Maui.Core.DeviceTests/files/testResults.xml).

**Coverage limit:** The existing connectivity helper returns early and
reports a pass when internet is unavailable, without recording that
branch in the result XML. These 30 passing records establish the test
outcome in this run, not proof that every instance performed navigation
or that increasing the timeout permanently eliminates the flake. Windows
encoding coverage remains absent by the existing skip. Native tests were
not run locally for this revision; no XCTest was used.

**Remaining pipeline failure:** The overall device-test build is still
red because `Controls Tests` on MacCatalyst osx.15 failed `CarouselView
Does Not Leak With Default ItemsLayout` (a retained CarouselView
reference). The Core WebView results above are passing; this PR does not
change that Controls test. [Controls result
XML](https://helix.dot.net/api/2019-06-17/jobs/a9dc4f5a-9c3b-48f9-adec-2f31379a0a69/workitems/Controls%20Tests/files/testResults.xml).
This is not a declaration of overall merge readiness.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Addresses the encoded-URL WebView timeout observed in #39103; related to
#34577. This does not change or supersede the dependency-update PR.

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
I detected changes in the main branch which have not been merged yet to
net11.0. I'm a robot and am configured to help you automatically keep
net11.0 up to date, so I've opened this PR.

This PR merges commits made on main by the following committers:

* kubaflo

## Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete
this PR by creating a merge commit, *not* a squash or rebase commit.

<img alt="merge button instructions"
src="https://i.imgur.com/GepcNJV.png" width="300" />

If this repo does not allow creating merge commits from the GitHub UI,
use command line instructions.

## Instructions for merging via command line

Run these commands to merge this pull request from the command line.

``` sh
git fetch
git checkout main
git pull --ff-only
git checkout net11.0
git pull --ff-only
git merge --no-ff main

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
<summary>or if you are using SSH</summary>

```
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>


After PR checks are complete push the branch
```
git push
```

## Instructions for resolving conflicts

:warning: If there are merge conflicts, you will need to resolve them
manually before merging. You can do this [using GitHub][resolve-github]
or using the [command line][resolve-cli].

[resolve-github]:
https://help.github.com/articles/resolving-a-merge-conflict-on-github/
[resolve-cli]:
https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

## Instructions for updating this pull request

Contributors to this repo have permission update this pull request by
pushing to the branch 'merge/main-to-net11.0'. This can be done to
resolve conflicts or make other changes to this pull request before it
is merged.
The provided examples assume that the remote is named 'origin'. If you
have a different remote name, please replace 'origin' with the name of
your remote.

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull https://github.com/dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
    <summary>or if you are using SSH</summary>

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull git@github.com:dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or
issues.
Also, if this PR was generated incorrectly, help us fix it. See
https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

---------

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
I detected changes in the main branch which have not been merged yet to
net11.0. I'm a robot and am configured to help you automatically keep
net11.0 up to date, so I've opened this PR.

This PR merges commits made on main by the following committers:

* kubaflo

## Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete
this PR by creating a merge commit, *not* a squash or rebase commit.

<img alt="merge button instructions"
src="https://i.imgur.com/GepcNJV.png" width="300" />

If this repo does not allow creating merge commits from the GitHub UI,
use command line instructions.

## Instructions for merging via command line

Run these commands to merge this pull request from the command line.

``` sh
git fetch
git checkout main
git pull --ff-only
git checkout net11.0
git pull --ff-only
git merge --no-ff main

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
<summary>or if you are using SSH</summary>

```
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>


After PR checks are complete push the branch
```
git push
```

## Instructions for resolving conflicts

:warning: If there are merge conflicts, you will need to resolve them
manually before merging. You can do this [using GitHub][resolve-github]
or using the [command line][resolve-cli].

[resolve-github]:
https://help.github.com/articles/resolving-a-merge-conflict-on-github/
[resolve-cli]:
https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

## Instructions for updating this pull request

Contributors to this repo have permission update this pull request by
pushing to the branch 'merge/main-to-net11.0'. This can be done to
resolve conflicts or make other changes to this pull request before it
is merged.
The provided examples assume that the remote is named 'origin'. If you
have a different remote name, please replace 'origin' with the name of
your remote.

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull https://github.com/dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
    <summary>or if you are using SSH</summary>

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull git@github.com:dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or
issues.
Also, if this PR was generated incorrectly, help us fix it. See
https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

---------

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Make the `Issue24284.FlyoutHeaderAdaptsToMinimumHeight` reference
visible while the fixture's flyout is initially open. On main,
`HeightReferenceLabel` is on Page 1 behind that flyout. Move the
existing unchanged `Label` (`HeightRequest="30"`,
`AutomationId="HeightReferenceLabel"`, `Text="Hello, World!"`) into
`Shell.FlyoutFooter`, leaving Page 1 empty.

Main already compares measured reference and header heights. Preserve
the exact strict contract `Math.Abs(headerLabel.Height -
heightReferenceLabel.Height) < 0.2`; this does not replace a hardcoded
30 comparison or loosen the tolerance. Add a positive-reference-height
assertion and measured-height failure diagnostics.

Only the fixture XAML and its test change. The constructor remains
untouched: `FlyoutIsPresented = true`, header text `Flyout Header`,
`MinimumHeightRequest = 30`, and `CollapseOnScroll` behavior are
preserved, as is all-platform scope. No product fixes, retries, timeout
changes, snapshots, flyout opening/closing workarounds, or shared
harness edits.

This is a clean main-based replacement for closed predecessor
[#39122](#39122), not a retarget or a
merge of candidate history. Its starting main SHA is
`32583cd272cf1ac485243fd13d322bb13f147914`.

**Static validation (all passed):**
- `dotnet format whitespace --folder --include
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24284.cs` -
passed (exit 0).
- `dotnet format whitespace --folder --include
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24284.cs
--verify-no-changes` - passed (exit 0).
- `xmllint --noout
src/Controls/tests/TestCases.HostApp/Issues/Issue24284.xaml` - passed
(exit 0); XML well-formedness only, not XAML compilation.
- `git diff --check` - passed (exit 0).

**Validation limitations:** No local native builds, XAML compilation,
UI/device tests, simulator/emulator or Appium execution were performed.
Actual main-based UI execution and native/XAML compilation remain
unverified pending CI.

**Historical candidate evidence only (not main validation):** On
predecessor #39122, [UI build
1622631](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1622631)
passed the Mac target on both original and subsequent executions (log
5497, lines 719/2422). The contemporaneous
[#39123](#39123) on the same
candidate base without this footer fix failed Mac both times ([UI build
1622632](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1622632),
log 5497, lines 720/2422). Fixed Windows, iOSlatest and AndroidMono
targets also passed there; AndroidCoreCLR and the full UI run were still
incomplete. This supports the fixture approach but does not establish
results for this main-based replacement.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Refs #24284 (fixture reliability only; no claim to fix or close the
original product issue). Replaces closed #39122.

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
I detected changes in the main branch which have not been merged yet to
net11.0. I'm a robot and am configured to help you automatically keep
net11.0 up to date, so I've opened this PR.

This PR merges commits made on main by the following committers:

* kubaflo

## Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete
this PR by creating a merge commit, *not* a squash or rebase commit.

<img alt="merge button instructions"
src="https://i.imgur.com/GepcNJV.png" width="300" />

If this repo does not allow creating merge commits from the GitHub UI,
use command line instructions.

## Instructions for merging via command line

Run these commands to merge this pull request from the command line.

``` sh
git fetch
git checkout main
git pull --ff-only
git checkout net11.0
git pull --ff-only
git merge --no-ff main

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
<summary>or if you are using SSH</summary>

```
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>


After PR checks are complete push the branch
```
git push
```

## Instructions for resolving conflicts

:warning: If there are merge conflicts, you will need to resolve them
manually before merging. You can do this [using GitHub][resolve-github]
or using the [command line][resolve-cli].

[resolve-github]:
https://help.github.com/articles/resolving-a-merge-conflict-on-github/
[resolve-cli]:
https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

## Instructions for updating this pull request

Contributors to this repo have permission update this pull request by
pushing to the branch 'merge/main-to-net11.0'. This can be done to
resolve conflicts or make other changes to this pull request before it
is merged.
The provided examples assume that the remote is named 'origin'. If you
have a different remote name, please replace 'origin' with the name of
your remote.

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull https://github.com/dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
```

<details>
    <summary>or if you are using SSH</summary>

```
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull git@github.com:dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or
issues.
Also, if this PR was generated incorrectly, help us fix it. See
https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service dotnet-policy-service Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved automated inter-branch merge.

@kubaflo kubaflo closed this Oct 5, 2026
auto-merge was automatically disabled October 5, 2026 11:13

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants